package com.yonyou.ucf.mdf.app.isvdxq.firstpart.pandian.controller;

import com.yonyou.ucf.mdf.app.isvdxq.common.DxqConfig;
import com.yonyou.ucf.mdf.app.isvdxq.firstpart.pandian.service.CheckresultService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@Slf4j
@RequestMapping(value = {DxqConfig.pre_apiUrl+"/checkscan",DxqConfig.pre_pcUrl+"/checkscan"})
public class CheckscanController {
    @Autowired
    private CheckresultService myCheckresultService;

    /**
     * 添加盘点结果测试
     * @return
     */
    //@PostMapping("/checkresultAdd")
   /* public DataResult CheckresultAdd() {
        DataResult res = new DataResult();
        try {
            Checkresult entity = null;
            Checkresult model = new Checkresult();
            model.setCheckCode("asdfasdf");
            entity = myCheckresultService.add(model);
            res.setData(entity);
        }
        catch (Exception ex){ res.setMessage(ex.getMessage());}
        return res;
    }*/
}
